<#include "../header.html">
<script type="text/javascript">

</script>
<div class="c_nav">
	<span>管理选项：</span>
	<a href="baseAction.do?method=coach&dataId=${base.id!}">管理首页</a>
	<a href="javascript:location.reload()"> | [刷新页面]</a>
</div>
<div class="c_box bg_white">
<form id="addForm" name="addForm" action="baseAction.do?method=saveCoach" method="post">
	<div class="c_topic"><#if baseCoach.id??>修改<#else>新增</#if>${base.bname!}教练</div>
	<input type="hidden" name="baseId" id="baseId" value="${base.id!}"/>
	<input type="hidden" name="coachId" id="coachId" value="${baseCoach.id!}"/>
	<div class="c_form_3 c_form-label-8">
	<ul class="l_mb">
		<li>
			<span class="e_label e_label-required">教练名称：</span>
			<span class="e_input">
				<input type="text" name="name" id="name" desc="基站名称" nullable="no" maxlen="40" maxlength="40" value="${baseCoach.name!}"/>
			</span>
		</li>
		<li>
			<span class="e_label e_label-required">性别：</span>
			<span class="e_radio">
				<label><input type="radio" name="sex" desc="性别" nullable="no"<#if baseCoach.sex?? && baseCoach.sex==1> checked="checked"</#if> value="1"/> 男</label>
				<label><input type="radio" name="sex" desc="性别" nullable="no"<#if baseCoach.sex?? && baseCoach.sex==2> checked="checked"</#if> value="2"/> 女</label>
			</span>
		</li>
		<li>
			<span class="e_label e_label-required">联系电话：</span>
			<span class="e_input">
				<input type="text" name="mobile" id="mobile" desc="联系电话" nullable="no" maxlen="20" maxlength="20" datatype="basechar"  value="${baseCoach.mobile!}" />
			</span>
		</li>
	</ul>
	<ul class="l_mb">
		<li>
			<span class="e_label e_label-required">费用(马力)：</span>
			<span class="e_input">
				<input type="text" name="mali" id="mali" desc="费用" nullable="no" maxlen="10" maxlength="10" datatype="number" value="${baseCoach.mali/100.0!}"/>
			</span>
		</li>
	</ul>
	</div>
	<div class="e_left">
		<button type="button" bind="" bindForm="addForm" class="e_btn-page">提交</button>
		<button type="reset" class="e_btn l_ml">重置</button>
	</div>
</form>

</div>

<#include "../footer.html">